○数字の型変換------------------------------------ 10進←16進 Dim a As Double = Val("&H" + "F") Debug.WriteLine(a) 結果 : 15 16進←10進 String = Hex(short) 8進←10進 String = Oct(short) ○数値を文字列に変換------------------------------ Dim strPos As String = Str(10) もしくは Dim strPos As String = (10).ToString ○キャスト---------------------------------------- Dim l As Long = Long.Parse("10") もしくは Dim l As Long = CType("10", Long)